﻿using System;

namespace Reader.Core.Chromely.Core.ProcessMessage
{
    [AttributeUsage(AttributeTargets.Method)]
    public class BrowserProcessAttribute : Attribute
    {
        public string Name { get; set; }
        public Method Method => Method.FormBrowser;
    }
    [AttributeUsage(AttributeTargets.Method)]
    public class RenderProcessAttribute : Attribute
    {
        public string Name { get; set; }
        public Method Method => Method.FromRender;
    }
    [AttributeUsage(AttributeTargets.Class)]
    public class ProcessMessagePropertyAttribute : Attribute
    {
        public string Name { get; set; }
    }
}